/*容器*/
.container {
  width: 1100px;
  margin: 0 auto;
}

a {
  display: block;
  cursor: pointer;
}

li {
  list-style-type: none;
}

.hover-effect {
  transition: transform 0.5s;
  &:hover {
    transform: translateY(2px);
  }
}
%one{
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}

/*common style*/
.header {
  //border: 1px solid #cccccc;
  .logo {
    float: left;
    margin-top: 24px;
    margin-bottom: 23px;
  }
  .login_register {
    //width: 300px;
    height: 30px;
    //border: 1px solid #cccccc;
    float: right;
    margin-top: 35px;
    font-size: 14px;
    .learn, .login, .register {
      display: inline-block;
      margin-left: 16px;
    }
    .learn{
      line-height: 30px;
    }
    .login {
      width: 80px;
      text-align: center;
      background-color: #649cf0;
      border: solid 1px #649cf0;
      border-radius: 15px;
      color: #ffffff;
      line-height: 28px;
    }
    .register {
      width: 80px;
      text-align: center;
      border-radius: 15px;
      border: solid 1px #649cf0;
      color: #649cf0;
      line-height: 28px;
      &:hover{
        background-color: #649cf0;
        border: solid 1px #649cf0;
        color: #ffffff;
      }
    }
  }
}
.h2 {
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
  color: #333333;
  margin-bottom: 28px;
  span{
    margin: 0 10px;
  }
}
.footer {
  //height: 100px;
  padding: 29px 0 26px;
  background-color: #333333;
  text-align: center;
  font-size: 14px;
  .link {
    color: #5a5a5a;
    margin-bottom: 8px;
    a {
      color: #ffffff;
      display: inline-block;
      padding: 0 8px;
      @extend .hover-effect;
    }
  }
  .address {
    color: #fafafa;
    opacity: 0.4;
  }
}
.school-module{
  .tab-cont{
    margin-right: -20px;
    .cont-item{
      padding: 20px;
      background-color: #ffffff;
      float: left;
      margin-right: 20px;
      .item-top {
        font-size: 16px;
        line-height: 30px;
        letter-spacing: 0;
        color: #000000;
        margin-bottom: 16px;
        &:hover{
          color: #f15656;
        }
      }
      .item-detail{
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0;
        color: #888888;
        border-bottom: 1px solid #dddddd;
        padding-bottom: 12px;
      }
      &:hover {
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
      }
    }
  }
}

/*环球网校*/
.index-banner {
  height: 500px;
  background: url("../images/index_banner.png") no-repeat center;
  .discount_coupon {
    height: 500px;
    margin-left: 57px;
    float: left;
    .title {
      font-size: 60px;
      color: #ffffff;
      letter-spacing: 0;
      line-height: 72px;
      margin-top: 80px;
      .italic {
        font-style: italic;
      }
      .sum {
        font-family: MicrosoftYaHei-Bold;
        font-weight: bold;
        font-size: 72px;
        color: #fff17d;
      }
      .bold {
        font-family: MicrosoftYaHei-Bold;
        font-weight: bold;
      }
    }
    .coupon-item {
      width: 366px;
      height: 130px;
      //border: 1px solid #cccccc;
      position: relative;
      margin-top: 36px;
      display: inline-block;
      margin-right: 27px;
      .bg{
        position: absolute;
        top: 0;
        left: 0;
      }
      .coupon-cont {
        width: 100%;
        height: 100%;
        //border: 1px solid #cccccc;
        position: absolute;
        top: 0;
        color: #ffffff;
        .cont-sum {
          width: 125px;
          height: 91px;
          line-height: 91px;
          //border: 1px solid #000;
          margin-top: 19px;
          text-align: center;
          letter-spacing: 0;
          float: left;
          span {
            font-size: 30px;
            //float: left;
            line-height: 116px;
            font-family: MicrosoftYaHei-Bold;
            font-weight: bold;
            margin-left: -6px;
          }
          strong {
            font-size: 60px;
            //float: left;
            font-family: Impact;
            font-weight: normal;
            line-height: 91px;
            margin-left: -6px;
          }
        }
        .cont-detail {
          max-width: 220px;
          float: left;
          margin-left: 19px;
          font-size: 16px;
          margin-top: 19px;
          strong {
            display: inline-block;
            min-width: 93px;
            border: 1px solid #ffffff;
            line-height: 28px;
            text-align: center;
            margin-bottom: 12px;
          }
          p {
            line-height: 26px;
          }
        }
      }
    }
    .coupon-btn {
      width: 280px;
      height: 60px;
      background-color: #f67617;
      border-radius: 30px;
      font-family: MicrosoftYaHei-Bold;
      font-size: 24px;
      line-height: 60px;
      color: #ffffff;
      text-align: center;
      margin: 60px auto 0;

      @extend .hover-effect;
    }
  }
  .applet {
    width: 170px;
    height: 220px;
    background-color: #ffffff;
    border-radius: 11px;
    opacity: 0.9;
    float: right;
    margin-top: 140px;
    text-align: center;
    p {
      width: 112px;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0;
      color: #333333;
      margin: 16px 28px 16px 30px;
    }
    img {
      width: 116px;
      height: 116px;
    }
  }
}
/*会员专属*/
.membership {
  background-color: #f8f8f8;
  padding-top: 60px;
  padding-bottom: 40px;
  .tab-head {
    margin-right: -20px;
    //margin-bottom: 24px;
    .head-item {
      margin-bottom: 24px;
      min-width: 138px;
      height: 40px;
      border: solid 1px #bbbbbb;
      font-size: 16px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 40px;
      letter-spacing: 0;
      color: #333333;
      text-align: center;
      margin-right: 20px;
      float: left;
      cursor: pointer;
      &.active, &:hover {
        background-color: #f15656;
        border: 1px solid #f15656;
        color: #ffffff;
      }
    }
  }
  .tab-cont {
    display: none;
    &.active{
      display: block;
    }
    .cont-item {
      width: 220px;
      position: relative;
      .hot {
        position: absolute;
        top: 0;
        right: 0;
      }
      .item-detail {
        .detail-key {
          float: left;
        }
        .detail-val {
          float: right;
          width: 178px;
        }
        .detail-price {
          margin-top: 15px;
          .original {
            line-height: 30px;
            color: #888888;
            float: left;
            span {
              text-decoration: line-through;
            }
          }
          .current {
            float: right;
            span {
              color: #f15656;
            }
            strong {
              font-size: 24px;
              color: #f15656;
            }
          }
        }
      }
      .item-btn {
        width: 118px;
        height: 32px;
        border-radius: 17px;
        border: solid 1px #649cf0;
        text-align: center;
        line-height: 32px;
        color: #649cf0;
        margin: 20px auto 0;
        &:hover {
          background: #649cf0;
          color: #ffffff;
        }
      }

    }
  }
  .ad {
    height: 100px;
    font-size: 26px;
    line-height: 100px;
    letter-spacing: 0;
    text-align: center;
    background: url("../images/more1.png") no-repeat center;
    margin-top: 30px;
    span {
      color: #ffffff;
    }
  }
}
/*今日直播*/
.live {
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 17px;
  .tab-cont {
    .cont-item {
      border: solid 1px #dddddd;
      width: 218px;
      margin-bottom: 20px;
      .item-tag {
        margin-bottom: 18px;
        span {
          display: inline-block;
          width: 56px;
          height: 24px;
          line-height: 24px;
          background-color: #dddddd;
          border-radius: 12px;
          text-align: center;
          margin-right: 10px;
          color: #666666;
        }
      }
      .item-detail {

        .detail-time {
          color: #888888;
          margin-bottom: 20px;
          span {
            float: right;
          }
        }
        .detail-teacher {
          .teacher {
            width: 48px;
            text-align: center;
            display: inline-block;
            margin-right: 14px;
          }
        }
      }
      .appoint {
        margin-top: 20px;
        .text {
          line-height: 34px;
          float: left;
          color: #888888;
          strong {
            color: #f15656;
          }
        }

        .appoint-btn {
          width: 118px;
          height: 32px;
          border-radius: 17px;
          border: solid 1px #649cf0;
          text-align: center;
          line-height: 32px;
          color: #649cf0;
          //margin: 20px auto 0;
          float: right;
          &:hover {
            background: #649cf0;
            color: #ffffff;
          }
          &.success {
            background-color: #dddddd;
            border: 1px solid #dddddd;
            color: #666666;
          }
        }
      }
    }
  }
}
/*题库*/
.exercise {
  padding-top: 40px;
  background: #f8f8f8;
  .ad {
    width: 1100px;
    height: 150px;
    font-size: 26px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    position: relative;
    .bg{
      position: absolute;
      top: 0;
      left: 0;
    }
    .QRcode {
      width: 135px;
      height: 148px;
      float: right;
      margin-right: 264px;
      img {
        display: block;
        width: 116px;
        height: 116px;
        margin-top: 7px;
        margin-left: 7px;
        border: 1px solid yellow;
      }
      .text {
        font-size: 14px;
        color: #ffffff;
      }
    }
  }
  .sort {
    margin-right: -20px;
    padding-bottom: 40px;
    .cont-item {
      background-color: #ffffff;
      width: 164px;
      padding: 16px 20px 17px;
      float: left;
      margin-right: 20px;
      margin-bottom: 20px;
      .item-top {
        font-size: 16px;
        line-height: 30px;
        letter-spacing: 0;
        color: #000000;
        margin-bottom: 16px;
        height: 46px;
        text-align: center;
        border-bottom: 1px solid #dddddd;
        @extend %one;
        &:hover{
          color: #f15656;
        }
      }
      .item-detail {
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0;
        color: #888888;
        .detail-row {
          margin-bottom: 8px;
          img {
            float: left;
            margin-right: 8px;
            margin-top: 3px;
          }
          p {
            float: left;
            strong {
              color: #f15656;
            }
          }
        }
      }
      .appoint-btn {
        width: 118px;
        height: 32px;
        border-radius: 17px;
        border: solid 1px #649cf0;
        text-align: center;
        line-height: 32px;
        color: #649cf0;
        margin: 14px auto 0;
        &:hover {
          background: #649cf0;
          color: #ffffff;
        }
        &.success {
          background-color: #dddddd;
          border: 1px solid #dddddd;
          color: #666666;
        }
      }
      &:hover {
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
      }
    }
  }

}

/*新东方在线*/
/*会员专属*/
.koolearn-membership {
  background-color: #f8f8f8;
  padding-bottom: 80px;
  .member {
    padding-top: 80px;
    .h2 {
      text-align: center;
      font-size: 34px;
      line-height: 61px;
      img {
        vertical-align: middle;
      }
    }
    .tab-head {
      margin-right: -20px;
      margin-bottom: 24px;
      .head-item {
        min-width: 138px;
        height: 42px;
        background-color: #f5f9ff;
        border: solid 1px #649cf0;
        font-size: 16px;
        font-weight: normal;
        font-stretch: normal;
        line-height: 42px;
        letter-spacing: 0;
        color: #649cf0;
        text-align: center;
        margin-right: 20px;
        float: left;
        cursor: pointer;
        &.active, &:hover {
          background-color: #649cf0;
          border: 1px solid #649cf0;
          color: #ffffff;
        }
      }
    }
    .tab-cont {
      padding: 20px 8px 20px 20px;
      background-color: #649cf0;
      display: none;
      &.active{
        display: block;
      }
      .cont-item {
        width: 236px;
        padding: 10px;
        background-color: #ffffff;
        float: left;
        margin-right: 12px;
        .item-detail {
          font-size: 14px;
          line-height: 24px;
          letter-spacing: 0;
          color: #888888;
          padding-top: 10px;
          .detail-row {
            color: #333333;
            padding-left: 3px;
            width: 210px;
            &:hover{
              color: #ec5148;
            }
          }
          .detail-price {
            .original {
              line-height: 30px;
              color: #888888;
              text-decoration: line-through;
            }

          }
        }
        .current {
          float: left;
          font-family: MicrosoftYaHei-Bold;
          font-weight: bold;
          font-size: 20px;
          line-height: 24px;
          letter-spacing: 1px;
          color: #ec5148;
        }
        .item-btn {
          width: 76px;
          height: 28px;
          text-align: center;
          line-height: 28px;
          color: #ffffff;
          background-color: #ec5148;
          border-radius: 2px;
          float: right;
          @extend .hover-effect;
        }
        &:hover {
          box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
        }
      }
    }
    .tab-cont2 {
      padding: 20px 5px 5px 20px;
      background-color: #649cf0;
      .cont-item {
        background-color: #ffffff;
        float: left;
      }
      .vip-price {
        width: 303px;
        //height: 282px;
        margin-right: 15px;
        margin-bottom: 15px;
        padding: 20px;
        .appoint-btn {
          width: 76px;
          height: 26px;
          border-radius: 14px;
          border: solid 1px #649cf0;
          text-align: center;
          line-height: 26px;
          color: #649cf0;
          &:hover {
            background: #649cf0;
            color: #ffffff;
          }
          &.success {
            background-color: #dddddd;
            border: 1px solid #dddddd;
            color: #666666;
          }
        }
        .item-detail {
          font-size: 14px;
          line-height: 24px;
          letter-spacing: 0;
          color: #888888;
          padding-top: 14px;
          border-bottom: 1px solid #eeeeee;
          .detail-title {
            font-size: 16px;
            line-height: 26px;
            letter-spacing: 1px;
            color: #333333;
            margin-bottom: 10px;
            &:hover{
              color: #ec5148;
            }
          }
          .detail-row {
            font-size: 14px;
            line-height: 24px;
            padding-bottom: 8px;
            .detail-key {
              float: left;
              color: #333333;
            }
            .detail-val {
              float: left;
              max-width: 230px;
              color: #666666;
              margin-left: 4px;
            }
          }

        }
        .detail-price {
          .original {
            line-height: 16px;
            color: #888888;
            text-decoration: line-through;
            margin-top: 12px;
            margin-bottom: 2px;
          }
        }
        .current {
          float: left;
          font-family: MicrosoftYaHei-Bold;
          font-weight: bold;
          font-size: 20px;
          line-height: 24px;
          letter-spacing: 1px;
          color: #ec5148;
        }
        .item-btn {
          width: 90px;
          height: 28px;
          text-align: center;
          line-height: 28px;
          color: #ffffff;
          background-color: #ec5148;
          border-radius: 2px;
          float: right;
          @extend .hover-effect;
        }
        &:hover {
          box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
        }
      }
    }
  }
  .consult {
    width: 358px;
    height: 50px;
    line-height: 50px;
    background-color: #649cf0;
    border-radius: 25px;
    margin: 39px auto 0;
    text-align: center;

    @extend .hover-effect;
    img {
      vertical-align: middle;
      margin-top: -8px;
    }
    span {
      font-size: 16px;
      color: #ffffff;
      margin-left: 10px;
    }
  }
}
.about-us {
  background: url("../images/koolearn_aboutus.png") no-repeat top center;
  border-top: 1px solid transparent;
  .container {
    height: 283px;
    padding-top: 20px;
    background-color: #ffffff;
    box-shadow: 8px 13px 25px 0 rgba(102, 102, 102, 0.14);
    margin-top: 193px;
    margin-bottom: 61px;
    .koolearn-logo {
      text-align: center;
      margin-bottom: 19px;
    }
    .about-us-cont {
      width: 952px;
      height: 102px;
      //border: 1px solid #cccccc;
      margin: 0 auto;
      img {
        float: left;
        margin-top: 6px;
      }
      p {
        float: left;
        margin-left: 13px;
        width: 932px;
        font-size: 14px;
        line-height: 24px;
        color: #666666;
      }
    }
  }
}

/*中华会计网*/
.chinaan-banner {
  //height: 2648px;
  background: url("../images/chinaan_banner1.png") no-repeat top center #bd141c;
  padding-top: 500px;
  padding-bottom: 60px;
  .chinaan_member {
    margin-top: 84px;
    .h2 {
      text-align: center;
      font-size: 36px;
      line-height: 61px;
      font-weight: bold;
      color: #ffffff;
      img {
        vertical-align: middle;
      }
    }
    .coupon-item {
      width: 542px;
      height: 140px;
      //border: 1px solid #cccccc;
      position: relative;
      margin: 0 auto;
      .bg{
        position: absolute;
        top: 0;
        left: 0;
      }
      .coupon-cont {
        padding: 10px;
        //border: 1px solid #cccccc;
        position: absolute;
        top: 0;
        left: 0;
        color: #ff4b02;
        .cont-l {
          width: 370px;
          height: 120px;
          border-radius: 6px;
          border: solid 1px rgba(255, 74, 2, 0.5);
          float: left;
        }
        .cont-sum {
          text-align: center;
          letter-spacing: 0;
          float: left;
          line-height: 122px;
          padding-left: 10px;
          span {
            font-size: 30px;
            font-family: MicrosoftYaHei-Bold;
            font-weight: bold;
          }
          strong {
            font-size: 60px;
            font-family: Impact;
            font-weight: normal;
            margin-left: -4px;
          }
        }
        .cont-detail {
          font-size: 26px;
          line-height: 122px;
          float: right;
          padding-right: 18px;
          color: #ff4b02;
        }
        .get{
          width: 130px;
          height: 120px;
          float: right;
          margin-left: 20px;
          display: block;
          @extend .hover-effect;
        }
      }
    }
    .tab-head {
      margin-right: -13px;
      margin-bottom: 20px;
      .head-item {
        min-width: 148px;
        height: 48px;
        line-height: 48px;
        background-color: #ffffff;
        border-radius: 2px;
        font-size: 16px;
        letter-spacing: 0;
        color: #ff4b02;
        text-align: center;
        margin-right: 11px;
        float: left;
        cursor: pointer;
        &.active{
          background-color: #fba807;
          color: #ffffff;
          position: relative;
          span{
            position: absolute;
            bottom: -9px;
            left: 0;
            right: 0;
            margin: auto;
            width: 0;
            height: 0;
            border-left: 9px solid transparent;
            border-right: 9px solid transparent;
            border-top: 9px solid #fba807;
          }
        }
      }
    }
    .tab-cont {
      padding: 20px 8px 20px 20px;
      background-color: #ffffff;
      display: none;
      &.active{
        display: block;
      }
      .cont-item {
        width: 234px;
        padding: 10px;
        background-color: #ffffff;
        float: left;
        margin-right: 12px;
        border: 1px solid #eeeeee;
        .item-detail {
          padding-top: 10px;
          font-size: 16px;
          line-height: 24px;
          color: #444444;
          margin-bottom: 8px;
          @extend %one;
          &:hover{
            color: #ff4b02;
          }
        }
        .cont-row{
          margin-bottom: 10px;
          color: #666666;
          text-align: center;
          line-height: 28px;
          .original {
            line-height: 24px;
            color: #999999;
            float: right;
            text-decoration: line-through;
          }
          .current {
            float: left;
            font-weight: bold;
            font-size: 14px;
            line-height: 24px;
            letter-spacing: 1px;
            color: #ff4b02;
            span{
              font-size: 22px;
            }
          }
          .more-discount{
            float: left;
            height: 22px;
            border-radius: 12px;
            border: solid 1px #ff4b02;
            font-size: 12px;
            line-height: 20px;
            letter-spacing: 1px;
            color: #ff4b02;
            padding-right: 8px;
            span{
              display: inline-block;
              width: 22px;
              background-color: #ff4b02;
              border-radius: 12px;
              border: solid 1px #ff4b02;
              text-align: center;
              color: #ffffff;
            }
          }
          strong{
            color: #fba807;
          }
          .test1{
            float: right;
          }
        }

      }
    }
  }
}
.good-lesson{
  margin-top: 80px;
  .h2 {
    text-align: center;
    font-size: 36px;
    line-height: 61px;
    font-weight: bold;
    color: #ffffff;
    img {
      vertical-align: middle;
    }
  }
  .lesson-cont{
    height: 420px;
    padding: 40px;
    background: url("../images/chinan_good_lesson.png") no-repeat center;
    .cont-col{
      float: left;
      //margin-right: 25px;
      .col-item{
        width: 233px;
        height: 118px;
        border-radius: 4px;
        border: solid 1px #ff4b02;
        position: relative;
        margin-bottom: 30px;
        background: #ffffff;
        img{
          position: absolute;
          top: 0;
          left: 0;
        }
        p{
          font-size: 14px;
          line-height: 20px;
          //letter-spacing: 1px;
          color: #666666;
          margin-top: 38px;
          padding: 10px 20px;
          //background: #ffffff;
          border-radius: 4px;
        }
      }
      &.left{
        margin-top: 75px;
      }
      &.middle{
        margin-left: 25px;
        .col-item{
          float: left;
          margin-right: 29px;
        }
        .dry-cargo{
          width: 438px;
          height: 230px;
          padding: 25px 30px 15px 30px;
          background-color: #fff0eb;
          border-radius: 4px;
          border: solid 1px #ff4b02;
          clear: both;
          margin-top: 30px;
          .cargo-title{
            font-family: MicrosoftYaHei-Bold;
            font-weight: bold;
            font-size: 24px;
            line-height: 24px;
            color: #ff4b02;
            text-align: center;
            border-bottom: 1px solid #ff4b02;
            padding-bottom: 22px;
            position: relative;
            .after{
              width: 20px;
              height: 5px;
              background-color: #ff4b02;
              position: absolute;
              bottom: -3px;
              left: 0;
              right: 0;
              margin: auto;
            }
          }
          .exam{
            width: 360px;
            height: 165px;
            margin: 12px auto;
            .exam-title{
              font-family: MicrosoftYaHei-Bold;
              font-weight: bold;
              font-size: 18px;
              line-height: 24px;
              color: #333333;
              margin-bottom: 15px;
            }
            .types {
              .types-select {
                display: none;
              }
              .types-replace {
                cursor: default;
                overflow: visible;
                position: relative;
                width: 100%;
                text-align: left;
                .current-type {
                  width: 100%;
                  height: 44px;
                  line-height: 44px;
                  background: url("../images/chinaan_triangle.png") no-repeat 332px center #ffffff;
                  padding: 0 15px;
                  box-sizing: border-box;
                  color: #999999;
                  font-size: 14px;
                  outline: none;
                  border: none;
                }
                .types-options {
                  display: none;
                  list-style-type: none;
                  margin-top: 0;
                  position: absolute;
                  width: 100%;
                  background-color: #FFF;
                  z-index: 10;
                  color: #999999;
                  font-size: 14px;
                  li {
                    line-height: 35px;
                    padding: 0 15px;
                    background-color: #FFF;
                    border-top: 1px solid #FFF1DF;
                    &:hover {
                      background: #FFF1DF;
                    }
                  }
                }
              }
              .download{
                width: 360px;
                height: 44px;
                background-color: #ff4b02;

                font-size: 16px;
                line-height: 44px;
                letter-spacing: 1px;
                color: #ffffff;
                text-align: center;
                margin-top: 16px;
                outline: none;
                border: none;
                cursor: pointer;
                @extend .hover-effect;
              }
            }

            .explain{
              font-size: 12px;
              line-height: 24px;
              color: #666666;
              text-align: center;
            }
          }
        }
      }
      &.right{
        margin-left: -4px;
        margin-top: 75px;
      }
    }
  }
}